package com.fw.system.admin.domain;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fw.annotation.Excel;
import com.fw.core.domain.BaseEntity;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 装备商品对象 tb_guns
 * 
 * @author xxx
 * @date 2021-12-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_guns")
@ApiModel(value="装备商品", description="装备商品表")
public class TbGuns extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @ApiModelProperty(value = "${comment}")
    @TableId("id")
    private String id;

    /** 装备名称 */
    @ApiModelProperty(value = "${comment}")
    @Excel(name = "装备名称")
    @TableField("guns_name")
    private String gunsName;

    /** 详情描述 */
    @ApiModelProperty(value = "装备名称")
    @Excel(name = "详情描述")
    @TableField("guns_content")
    private String gunsContent;

    /** 装备参数 */
    @ApiModelProperty(value = "详情描述")
    @Excel(name = "装备参数")
    @TableField("guns_param")
    private String gunsParam;

    /** 封面图片，多个逗号隔开 */
    @ApiModelProperty(value = "装备参数")
    @Excel(name = "封面图片，多个逗号隔开")
    @TableField("img_url")
    private String imgUrl;

    /** 装备价格 */
    @ApiModelProperty(value = "封面图片，多个逗号隔开")
    @Excel(name = "装备价格")
    @TableField("amount")
    private BigDecimal amount;

    /** 当前市场指导价 */
    @ApiModelProperty(value = "装备价格")
    @Excel(name = "当前市场指导价")
    @TableField("z_amount")
    private BigDecimal zAmount;

    /** 库存 */
    @ApiModelProperty(value = "当前市场指导价")
    @Excel(name = "库存")
    @TableField("guns_num")
    private Long gunsNum;

    /** 利润金额 */
    @ApiModelProperty(value = "库存")
    @Excel(name = "利润金额")
    @TableField("money_amount")
    private BigDecimal moneyAmount;

    /** 所属vip等级 */
    @ApiModelProperty(value = "利润金额")
    @Excel(name = "所属vip等级")
    @TableField("guns_level")
    private Long gunsLevel;

    /** 0下架 1上架 */
    @ApiModelProperty(value = "所属vip等级")
    @Excel(name = "0下架 1上架")
    @TableField("is_type")
    private Long isType;

    /** 购买后多长时间卖出可以 */
    @ApiModelProperty(value = "0下架 1上架")
    @Excel(name = "购买后多长时间卖出可以")
    @TableField("buy_hour")
    private Long buyHour;




}
